﻿//********************************************************************
// Author:      刘艳明
// Create Date: 2012-09-20
// Description: 
//
// Version:     1.0.0.0
// Change History:
// Date		    Who		      Changes Maded
//--------------------------------------------------------------------
// Please Insert the Modiy record here!
//--------------------------------------------------------------------
//********************************************************************



using System;
using System.ComponentModel;
using System.IO;
using System.Runtime.Serialization;
using System.Text;
using System.Xml.Serialization;
using MillerApp.DataContract.Common;
using MillerApp.DataContract.Common.Entity;

namespace MillerApp.DataContract.MillerDB
{
	#region StockqtreadinfosEntity
	/// <summary>
	/// 这个实体提供了 StockqtreadinfosEntity ()的属性和方法.
	/// </summary>
	 [DataContract]
	public partial class StockqtreadinfosEntity : BaseEntity<StockqtreadinfosEntity>,IEquatable<StockqtreadinfosEntity>
	{
				
		#region Properties
        private string _notes = String.Empty;
        /// <summary>
        /// 获取或设置notes character varying(4000) AllowDBNull
        /// </summary>
        [DataMember]
        public string notes
        {
            get {return _notes;}
            set
            {
                 _notes = value;
                 //NotifyPropertyChange("notes");
            }
        }
        
        private string _userid = String.Empty;
        /// <summary>
        /// 获取或设置userid character varying(16) AllowDBNull
        /// </summary>
        [DataMember]
        public string userid
        {
            get {return _userid;}
            set
            {
                 _userid = value;
                 //NotifyPropertyChange("userid");
            }
        }
        
        private DateTime? _tradeday;
        /// <summary>
        /// 获取或设置tradeday date AllowDBNull
        /// </summary>
        [DataMember]
        public DateTime? tradeday
        {
            get {return _tradeday;}
            set
            {
                 _tradeday = value;
                 //NotifyPropertyChange("tradeday");
            }
        }
        
        private string _seccode = String.Empty;
        /// <summary>
        /// 获取或设置seccode character varying(6) AllowDBNull
        /// </summary>
        [DataMember]
        public string seccode
        {
            get {return _seccode;}
            set
            {
                 _seccode = value;
                 //NotifyPropertyChange("seccode");
            }
        }
        
        private int _id;
        /// <summary>
        /// 获取或设置id integer NotAllowDBNull
        /// </summary>
        [DataMember]
        public int id
        {
            get {return _id;}
            set
            {
                 _id = value;
                 //NotifyPropertyChange("id");
            }
        }
        

		#endregion
		
		/// <summary>
        /// 构造函数
        /// </summary>
		public StockqtreadinfosEntity()
		{		
		}
		
		#region IEquatable<StockqtreadinfosEntity> 成员
		/// <summary>
        /// 比较两个实例数据库表中的字段是否相等
        /// </summary>
        /// <param name="other">StockqtreadinfosEntity</param>
        /// <returns>bool</returns>
		public bool Equals(StockqtreadinfosEntity other)
        {
			return this.notes.Equals(other.notes)&& this.userid.Equals(other.userid)&& this.tradeday.Equals(other.tradeday)&& this.seccode.Equals(other.seccode)&& this.id.Equals(other.id);
        }
	
		#endregion
	       		
		#region IDataKey 成员
		

        #endregion

        public string secshortname { get; set; }
	}

	#endregion
}
